could not use factory class in its own package, 
moved to myPackageImplementation