application: added set router and api here docs, removed the _html_template variable
application: improved handle_internal and error exception info