Rename some functions.
Update .gitignore.
Use the namespace Blizzard provides, but do it properly this time.