Agent IIFE for utils

First step towards getting agent off of `this` and onto it's own object.