using new template from @aurorachiarello

updated code to reflect a more pythonic approach though CherryPy is
weird. Me thinks it's time to switch to bottle or flask