add new libraries and make some changes to the logger