Refactored the Perform Action in to seperate classes based on the functionalities