moving dependencies to rebar deps
several changes