Framework initialization code