Add more comments to the framework.
Add a factory to get parsers.
Add EOFException to parse functions.