add database class
fixed include