refactored web snapshot generator. closes #53