It makes a list of all the towns, remove any town already used, sort by population, pick the top 10 from that list and sorts them randomly.
It walks all those towns trying to find a suitable spot for an airport in a 30x30 radius.
It repeats that, to found a second town, trying to keep a minimum distance of 25 between the 2 towns.
It builds the airports. It builds an airplane. It waits.
After 2 years it checks if the airplane makes enough profit. If not, it sells the airplane. If all airplanes are sold for a route, it sells the airports.
When there is 250+ cargo on a station, and no new vehicle in the last <distance between stations> days, it buys a new vehicle.
When possible, it pays back its loan, if needed, it gets a loan.
It builds a new route every 1000 ticks.
I think that covers it all

It is really simple. One side-note though: currently you have to start it in the year the City Airport is available, else it won't be able to do anything

Something we are working on

The only thing necessary for the triumph of evil is for good men to do nothing.