TODO: Take config obj. Take routes from json conf file