adding means to create a parser as an instance object as opposed to a static class