Re-factor and bug fix for AirNow API manager

Closes #158