Renamed thread to task + more docs

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>