moved translator factory to Translator Module
removed unused parameter
moved parser_factort to Parser module
removed unused imports/comments