gh-8: Moves envelope-related code into a separate file.
Improves envelope validation and tests.
gh-38: Adds preliminary For Ann (Rising) demo.