created constants class and started using it someplaces

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>