first version of the library. compiles, but the maven build seems broken