Added check to see if config file exists before trying to read it.
* Fixed gradle build
* Removed empty listener tag
* Fixed gradle build