make pdofactory to static class