Created class Parser with parse method