Implement add-drink in API

Consider this partial fix for #1. Note that I have not actually run this code – I do not have a test installation.