Updated lib API

Added more config params:
filterWindow, motionDetection Threshold, motionDetection DebugLog