created migrations and models, fixed rakefile