restructuring naming, app config + new service
query displaying in index.html
problem with json file format sorted
session service instanciated in controller
promises to call session methods