Removed fixErrorLog, because it doesn't work
Code commenting and documentation