Take background parser to its own module
refactor color parser