starting factory refactoring. Created stubs for framework manager and reworked API for factory