made signal_utils a package and fixed some bugs