pretty much done thread creation code
added a few comments for myself
gotta release that