added DB insert, need to fix create db on remaining tables