cleaned up repository

removed rebar, removed basho additions, unified code, implemented
Makefile building project as Erlang lib asset