Created CategoryController and CategoryRepository.