Adding Basecontroller class which will be the parent of all the controller classes.