move ChanMode to libsmu.hpp, add libsmuso target to makefile
merged