add rdb interface and other misc commands