Optional loading of options from configuration

/to @Schoonology please review