Refactor the file loading infrastructure to support loading multiple files
Implement the magic number checker, and re-order header checks.
Refactor the DEX parser to bring out inline functionality into a header file
Add 'used' attributes to header functions - just in case.