First version of the library
Not complete but working
test example added