Removed unused logs
Fixed #4 improved API