Create Phonegap-based app. Move server-centric logic.