Generate rails app and event model