Moving the ui code out of hydropick.ui.algorithms