Move Entity, IoC, IUnitOfWork to framework