some cleanup and added library for voxel testing