Use constant for status codes 2 and 777.
Merge pull request #78 from raghavgautam/master

Use constant for status code 777.