added lager in rebar.config file
added documentation