Refactoring SearchMotifs and SearchContigs tools. Simplify logic for coloring regions