got database creation and inserts working