Clean up the object properly
Refactor hub code
Move setup logic into Haskell