Nope, no class just for constants please. Put the constants where they are needed. In this case that would be the NodeController. 

Let me know when you updated this.