CONSTANT-ized to cleanup the API

- some variables were accessible via API just for testing
  but constants can be also stubbed