add initial version of image generator, add api, should be close to ready to display images