Change JobManager startup to allow external control
Use environment variables to pass variables to ApplicationMaster
Use contstants for settings
Fix CLI options