update kraft app to use core's appframework