fixing code structure and adding documentation for parsers