Created module 'defs.py'.
Moved common constants to 'defs.py'.