improved documentation. Added new function to use easily the parallel framework