Background on the electoral college, paraphrased.
The electoral college was developed by the founding fathers as a way of separating the will of the masses from the elected officials. This was necessary at the time, when Washington was far removed from the agrarian peasants who made up most of the population.
The electoral college is the same number as there are US representatives. A voting district gets one electoral vote, but instead of going directly by district, a state all votes for one candidate depending on which candidate got the most overall electoral votes in the state. No, I don't know why.
The system is outdated, and does not reflect the modern instant voting system we have in place or the fact that people are (theoretically at least) more informed about the issues, negating the need for another level of protection from the will of the uneducated masses.
IMO, a direct population vote is appropriate in today's society, since the electoral college was also used to reduce instances of voter fraud.
/history lesson