introducing predictor function

1. Added transaction class
2. Added 'predict' function in the predictor class
3. Updated infra for hybrid predictor