refactoring and cleaning PsiParsingServiceImpl