init the framework