Moving token definitions to cpp file

* ensures that there tokens are not instantiated twice
moving operator to method

* fixed tests
* followed pattern of using a method to retrieve a static variable, to ensure proper existence of all reliant variables