added dependencies and set the domain objects to entities
added initial classes for database handling