marley: moved Mosaic functionality to its proper place
marley: added generic ImageDatabase interface for storing color data