Add notices
1. add copyright notices.
2. separate algorithms into different files.
3. add optional parameters to choose refine algorithm for anomaly detector.
Remove file checked in by accident.