Towards a model for Ubiquitous and Mobile Computing