move constants into separate module for better testing