Initial POC mining setup. Uses Queue.Queue and stuff.