Added Singleton Factory in Common Library