Adding a place to put images generated by the application
Adding stuff to write generated image to a file.