put constants inside classes instead of at global scope.