Add Thread.hpp to the api file, closes #45.