Added color theme module, fixed a bug in logging