Create base controller