updated rebar
added postgresql based chunk storage
added lager