add a rakefile and an active record migration