Revise to use TimeSeries
> 1. use TimeSeries instead of lists of lists
> 2. add exception classes
> 3. add optional algorithm and algorithm params passing for correlator and detector.
> 4. add reference links for complicated algorithms.
> 5. add modules sub directory.
> 6. fix comments format and typos.