finish migrating elixir code into comm.prod app.
Split index.html into templates and integrate with base.html