embedding ewma prediction part
embed prediction module into the framework, add the time window