Updated startup file, added data to store vars and added init() to main
Added ticket.php and classTicket.php files.
Added header comments to data and main.
Added command parser and database init function