A simple helper to define constants. Constants are defined as functions of the module and couple of helper functions are added