made a first stab at base classes using optical flow as a guide.