added Flight and tests for Flight