add wtf-core framework code