Minor changes

Updated included files and libraries
Some attribute and method of some classes set as private
Made an atexit() function for clients
Need to find and fix a bug that eventually cause a client not to
complete his execution.