add Rakefile and migration for database