Refactored variable names and added parsing of 'prefix' config option.
Updated example config.