Add base controller class