added documentation for Cilk API and updated API to be cleaner