Pull out conf loading to a util function

Sometimes it is useful to give a class a non topolgy related
main method that can be used for admin/batch functionality.

These cases will want to use the same config as a topology, so
make loading it general.