establish interface for db module
establish the interface with db module