moved templates out of index.html, compiling and using minispade instead