update setup.py et al. to package structure