Cleanup of global variables and constants
Use singletons for Coloring and Caching configuration