Added threshold_optimizer methods into running.py
Made threshold_config to hold previous opitmization runs. This allows detect() and score() and optimize_threshold() to be three modular runner functions
Simplified how labels are obtained from windows
Added comments and removed unecssary file corpus_labels.json
Added documentation and also made parts of running.py more modular
Add more documentation and moved optimization to its own file
Small tweaks
Merge pull request #10 from simjega/master

Create threshold optimization step between detection and scoring