Changed routing definition classes to not be React components since they are never rendered, yet still work with jsx