Move API loading to it's own method so it looks nicer.
Merge pull request #76 from Clashnia/hqm

Move API loading to it's own method so it looks nicer.