Now using partials to render app from rails.
Misc tweaks