Changed ErrorLog into an Abstract Class and updated a few comments