Added add_event.php method, changed config.php to work better with mada's files, added a new utilities.php file to contain various port methods such as mysqli to json conversions.