move index to templating system, add test artists, move debug section out of layout.html