initial set up and rails generate