Separated business logic from entities