Build controller base class