routing changes including output type support, improved exception handling, removed exception names, refs #140, #52, #144, #94