Converted LocationAPI and UsernamesAPI into one file.

It's not necessary to have two API files when they really do pretty much
the same thing.