Refactored library to handle new generators.
Fixed background color.
Add background color test.