Updated with constants

Created a separate file for managing constants.