fleshed out usage documentation
style change for Detector
synchronised Detector unit tests