Added config file functionality and sample-config.json.
Updated Readme.md.