add context manager for performing database ops inside a transaction
add API for modifying a playlist's groups