basic models to sqlite3