Base controller setup