Configuration

Fixes #121
Fixes #120
Fixes #119