database class header