DAMPE Offline Software (DMPOS)