Made parser into it's own stand alone module