adds title prefix and postfix to response. Some general code cleanup, you can now set a class for body in view/page.php