some minor work on the chunk class, added chunkstore class