AVALANCHE: Introduce new class: Parser. Update rest of the code accordingly.