Build reposity & controller implementation