Attempted de-coupling of the bounding box algorithm into a seperate class. Started working on a skeleton.