Updated to work with cross domain database

MySQL Cross domain database functionality. Secured with JSON and server
side PHP files.