changed config to color and removed db dependency