moving topology to command line args