Added documentation about command based
Added functionality to waiting for a new thread (returns exception)