Theoretical Background and Design of Hydraulic Fracturing in Oil and Gas Production