whitespace change
update comments
add setters for height, width, scale and mode
major refactor of the code

todo: barcode text is missing
add more tests and fix existing one