added database.rb and created the database itself