Added Repository Pattern and BaseController