Added a Chunk and ChunkManager class.