added message class and chunkmetadata class. started test5 implementation