Implemented a map parser and file format.