added a script to create the db
moved those bits out of webapp database.rb