changed Parser from static class to a non-static class