Added location controller and did rspec tests on it