Moved global CONSTANTS to a global object