Add DB and cmd interfaces