Refactored. XML serialization stuff now completely separate from loader. The format table is now in its own file.