Which immunosuppressive medication is commonly utilized to prevent rejection after organ transplantation and operates primarily through the inhibition of the mTOR pathway, which is instrumental in regulating the transcription and translation of autophagy-related genes (Atg)?