Code refactoring

A bit of refactorig was done in processes and threads source code...
Just little changes!
Documentation added

The Doxygen documentation of the Process class revised and completed.
Documentation added

The Doxygen documentation for the Thread class was reviewed and
corrected.