restructured the code, added two more modules for raw data and diff data processing