Refactor dispatch

Now supports multiple unit modules, bootstrap panels.