adds images, appcache, and html structure