Use requirements files to consolidate dependencies.

Follow on to PR #158.