Add ‘init’ to support async plugins.
Accept object hash.
Simplified router.