Mircea: WIP Added q lib and started using promises - stopped as chrome doesnt let loading of local files with getJson, will resume when the end point is ready