Fixed DB location bug and added support for MaxMind web service