add basic mobile functionality and compile phonegap application