Added IEntity and IRepository