The original purpose was A improve the Articles of Confederation.
Articles of Confederation did not say how we should conduct the government. One of the point that was brought up in the convention was the division of power (whether we give all the governmental power to one person or should we divide it) and how a president could be re-elected.