[#19] - added plugin and cordova_plugin middleware