Added lib.debug and updated readme file