initialize rails application