Support configuration file for peridot

Adds configuration file support. Fixes #20