moving rails app to frontend/