Initial commit for the implementation of the library plus a test.