RCA framework initial

1.framework major components included
2.major components interface definitions
3.correlator module implemented
4.detector module initial design implemented(using bitmap to get a time period and ema to get the exact point)
These two lines can be changed to
```python
self.x = x if x else value
```
Or a even more simplified version: (though I prefer the above)
```python
self.x = (x or value)
```