Created class Parser.
Refactored some classes