Added initial library implementation.
Extremely minimal example app.