Removed unused logging and added better documentation