organizes hub controller code, uses helpers.