improve callback
add configuration in device
improve cozy creation
cleaning code: remove useless console.log