1. adding gradle 'application' plugin
2. made it possible to pass mongo connection properties and log file location from commandline