settin up the rails app