Fix indents
Add python threaded collector implementation