A republic is based on law and not the whims of an angry mob. Like it or not, the Electoral College is necessary in order to maintain the balance of authority, giving part of the balance to the states themselves and not the whims of an uneducated group of the populace who otherwise have nothing to gain but expect more from their government than they are entitled.