refactoring

Moved Entities to DAL