Use environment for configuration exclusively

This fixes #21