adding the cordova folder for the native support of cordova plugins

Adding a folder named "cordova" which contains a main file named cordovaSocket.py which is called by the apisocket.py with the parameter as given by the javascript call. This then calls the appropriate function of the required plugin.All the various plugin codes are written in there respective files.
Yes, I am c-ish background. Also regarding your second question - yes, there is a binding between python and javascript and both have to be same, the names as we call in javascript and the way they have been defined here must be same