fixed null mapping
models now create tables automatically
added table creation docs