An approach to mobile grid platforms for the development and support of complex ubiquitous applications