Moved printing the comments out of the parser, and restored the reverse-reading of file when casting. Lots of changes will follow, with moving all hardware-related stuff to a class