Change the code's struct

Optimize the code's struct
now AccData Inherit from DataKernel
and AccDataTest import Accdata to make test