Add base controller in Coffeescript.