init general framework