Making jar to runnable
added test case for docfactory
merging completed