Refactored global constants to a class called Constants