Initailize rails application