adding photo controller, message library, views