Added barcode generation features, closes #5.