This commit moves where the functions for the routes are defined and adds some new ones for the hosts group and adds a new group for CPUs.