Pep8 / pyflakes
Move ldap creation to lib
Add branch listing