add exceptions, template renderer basic