Code cleanup
Style base template
Render index