Added lager as a dependency
Replaced io:format with lager calls