Factor policy settings into a class

This would provide an easier way of extending the topology class
to adapt different policies without the need of using inheritance.