photo bean, controller, repository, view