libs/cbi: Improved user interface draft #1