added some more pages and made a few changes from image-based demo back to code.'