Full configuration

This PR replaces hard-coded options by configuration values.