externalized the constants class