moved parser to own class, made use of debug parser for dev on my pc