Implemented a Strategy pattern to allow support for Google AppEngine Threads