Calabi-Yau Categories And Quivers With Superpotential