Improve logger decorator management, add id decorator and using it in demo.