Move code into class
Make class more OOPey, and add error handling during blacklist updates