Jeremy Patrick: Adapting database class for project