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)
This doesn't seem that safe and ripe for injection if we ever decide to include this in a webapp.is there a way to check if algorithm_name belongs from a list?