Started implementing phonegap support