A sample prototype of a threading model for implementing a Generic scheduler in Sponge