changed into pypi distributed library
moved into pyseg_base folder