Added entities, repositories and service layers