updated the configuration file for better testing
Changed how modes work, added a function to return json from an external source
not include JSON to external applications
code to return the table object in a way that backbone can understand externally