Log lvl support in Logger and new main function