Continued with color debugging palette, refactored global instances to singletons.