I considered messing around with your project, then immediately gave up due to lack of documentation. Sure I could spend the time reading through all your code, but one of the benefits of using a library by someone else is I can treat it as a module, learn just the interface, and be productive. Check out the mongodb driver for erlang for a great example of documentation:
https://github.com/comtihon/mongodb-erlang