Added new setting options in the application.properties and adjusted the java code for it and updated README.md