added emergency routing and environment
fixed routing template for new xinclude way
removed obsolete scripts, small cleanups
Removed ResourceFilter