complete rewrite of swagger node. Things are now much easier to
configure.
Complete rewrite of the swagger node.