Finalizing changes to branch switcher, adding documentation