Phonegap plugin to create services