Creating the Sequence object if missing when calling next_value()
Making sure code loads when the database tables are not properly configured
Changing key in TestModel field
Updating README to reflect template storage in database