build out sqlite model