adding webapp debugging and simple template render