The electoral college is a way to weight each states votes.
Total votes on a national basis don't matter. This allows states
with a lower population to still be relavent to the process. The
reason the elcetoral college is not used in local and state
elections is because they are local and state elections. The
presidential election is the only national election. When this
country was founded there was not a popular vote for president.