Entities, repositories, tests added