Added id log for failed manifest check.
Corrected TOC and BIN confusion.
Added CUE file creation and refactoring.