jf/bd cleaning up creation of overlay

* added class for background color
* cleanuped up actual creation