Updated documentation and created errorlog