What was the original purpose for crack cocaine?

Crack was invented by people who abuse cocaine for the purpose of smoking it and getting high.