adding scrutinizer-ci configuration + code quality badge to README
[skip ci]
minor refactoring to reduce cyclomatic complexity from Parser