add output
update hist 0.3.1
move main to spm.main