Initial commit of sqlite model code
Change id field to _id