Make photos restful and add simple cov

Using photos controller instead of home controller because it is more restful. Following restful conventions will make it easier developers to work with the code base.