oop way to write Bottle
move html to templates