added spin_column templates

It is the same as the tube template, we should 
improve it later.
refactored the barcode validation