Added constants file.
Updated to use constants.