Created with minimalistic set of functionality. Created a new library for it, there'll be more thread-related stuff here.