Added phonegap and implemented features