Adding base classes and first calculation of morton space key calculation