A framework for developing neural networks based mobile appliances