Refactor planner to use the hub plugin
Update to use remote hub plugin