initializing the whole framework