Implemented the MMNetworkManager into Android

and some general changes