Unique constraints added, cleaning up example script, flattening models
config, forward development on repository.