Refactor databaseService. Remove code duplication in AirportService (and elsewhere).