Refactoring more:

 - separation of classes
 - InsertStrategy
 - improved doc comments
 - utility methods (clear, rotate, etc.)
 - more tests (assert, validate)

Next steps: rebuild(), query things, raycasts, proper subdivision in packages/modules, etc.