Structural macromechanics approach in dynamics of fracture