added module exports on file
the right declaration of constants
common functions