First pass at adding legends to image generation.
Build files.