added flight.php file with flight class and methods