Moved type declarations to specific files. All developed tests are passing correctly. In progress: octree hierarchy sanity test.