Finite-Volume HD/MHD code on moving mesh