Added config file for project
Updated routes for json api