First working version of package.py