Added some documentation regarding the configuration, also added some scala snippets