- Refactored database layer to pull object database querries out of the db class