Added constants file. Modified all input protocols to use these constants.