refactoring and cleanup
flipping equals to avoid NPE
adding wait for creation of coordinator jobs
removing unnecessary logging
adding wait for coordinator job creation
more time for the process to finish
Merge pull request #275 from raghavgautam/fixes

Small refactoring and fixes