Removed Logging and added documentation