Switch to using local IP database

I created this to address the performance issues I outlined in #10, this uses a IP DB in file to work out what country any IP address is from instead.