add litcoffee demonstration; tweak api in support of that