init basic framework