Database framework

I've added two new files and added an include in header.php"