Added Agent controler, cleaned up the ThingManager