Refactored some of the CRUD, added StatusMessage class, updates to database schema