infinite loop in Main.py was stopping compenents being registered with pox.core