This is a work TOTALLY based on @mojombo and @eproxus work: More at: https://github.com/eproxus/bert.erl and http://github.com/mojombo/bert.erl