added locations model, controller and views