adding class that will handle database access