class with proper API for Leave Parsing
unit tests for Leave Parser