Refactor models and schema so they can be used with any DB connection
Begin writing DB tests