Refactored code for backfill and added action wrapper for getCMSContent()-Yet to be tested!