Created new module as library with common code in the main modules (Passenger, Terminal and Inspector)