Removed repetitive code in addcurse.php;
Moved config.php to root directory and updated relative paths to it.
Added a table for reveals in db.