Move position of setup()

Move position of setup() so that it fires before the setup_workers.
Therefore any on/off callbacks are invoked before the init(),
setup_plugins(), setup_workers() methods. Otherwise, callbacks set in
setup() were being ignored.