tidy up
config clients & docstrings
use branch from config