dao: Refactored the add bug and add project code to move all database actions to the DAO class. If/when the decision to switch database systems happens, all database code will be in one place