removed api namespace, updated from plugin to CordovaPlugin
removed api namespace and updated to use cordovaPlugin for android