main: set up the tango library