Added rails app layout and sared header/footer.