added the support for hive and giraph workflow in the factory