Added 2 new files

Added DB.php to classes folder and included index.php to public folder.