Updated library, added example config and rewrote (in part) the README

Signed-off-by: Miguel Guerreiro <miguel.guerreiro@gmail.com>