update directory structure for distrbute support. add deb build. add make test