Added MySQL database connection stuff to callback

Added MySQL database connection stuff to callback.php
Deleted old index files
Changed some other things, including config.php location reference