made generator code more generic and easier to embed
add optional manual rotation
finish up manual rotation
add optional manual control of position
add plumbing for saving images
finish image saving