Parse logic moved to separate class Parse. Tests for Parser.