routing changes including output type support, improved exception handling, removed exception names, refs #141, #52, #146, #95