Added BaseController superclass