Refactored code to seperate parsers' code

Все! :)