add a thread class
Merge branch 'master' of git://github.com/diversen/coscms