A reference implementation of the Bark API