Created DataStructures module

Moved all octree-related stuff into a more general DataStructures
module. Also modified all namespace references to use macros.