Added constants.py for convenience
Updated documents