Add configurable configurations.

Users can now specify necessary configurations via a setting.  Optional implementation of #2.