split up index.html into modules