Huge refactoring. Removed ShapeContainer, changed Shape dramatically. Added ShapeCubes as a content to Shape. Completely rewrote transition mechanism.