DB as interface. Fixes #13