add an image object class
refactor out the old router class

image class now handles routing info