Refactored core Controller. Now it is inherited by controller class
Refactored core Controller. Now it is inherited by controller class