Added basic windows os memory calls and created new thread header.