Add Main class to set applicationContext file and fix issue in FileContentProbe