Refactoring hex-viewer a little and started on TS parser.