move all constants to constants.json