Hooked up parser to factory