Added RouteDefHolder class.
Updated example.
optimize imports.
refactor examples
added support for json.
refactor