Add API and display version info on demo page

Fixes #59