add class ast (but class future copying struct only)