sort what have done

pack apis into a class