init core rails app