A Generalized Ring of Quotients I