Add logger class
Use new logger class
Call things only once
Use new class logger