continuing the refactor; removing old Cache class; added Environment
now writing products out using serializer