caramel init

caramel initialization snippet updated according to the framework update