Initial commit, a half-baked library and a demo app.