add chunk_read class to manage chunk data