Initial parser for cd3 files.