added all the dependency and fixed the rebar.config error
remove ~ files