Refactoring.
Make methods in ChunkManager public.  Added comments