moving database operations to OOP