Introduced activity model and wrote end point api, tests and hooked up the angular controller and views to it