Added in code for Metafile parsing

The new Meta code is untested.  Also the hooks haven't been added to the
main program in order for it to parse the file.