Putting some functions in private mode
All the public functions of the class have been tested now