Created an interface with a method for getting a thread pool and changed a few classes to use this instead of CordovaInterface, unless CordovaInterface is required