Renamed initVariables and getEvents file to match proper naming conventions. Also added init_variables.php