removed constructor injection of parser for easier portability