This is a very VERY simple class I put together in the time I was bored.
You can make this far more advanced if you please, you can do anything you want to this really. Just make sure to give me credits :)
This can easily be used with some multi threading, it's designed to be compatible for that.
http://min.us/ictGvo.jpg