refactored bool parsing
parsers refactoring
tests fixed