Implemented repositories, controllers