Switch to forks from threads. Updated documentation