Reformat, refactor the threading, create threading package in the API