add note about sourcegraph
pep257
refactor to reduce complexity of main (now<10)