Revert "Edited Sys calls and Thread"

This reverts commit ace0be6a8f77560530d042b64c3a77deb3d45031.