mod: base class, common cube geometry

Ditched the subclassing