Design and development of the core software for STCF offline data processing. (3rd March 2023)