Better packages architecture for database related classes