frameworkManager refactored