Added a new config file to work with ajax. It needs to be refined and make it work via the controllers so as to use post
routes as well the config from the database rather than my ajaxconn.