Database Interface definition