Yang-Baxter equation and representation theory: I