Added IEntity and Repository
Added Tests