add BranchController

It can prepare the options.