Modified by maintaining constants in constants class.

Signed-off-by: Sanjay Madnani <http://sanjaymadnani.wordpress.com/>