Create a package installable via setuptools

Also handle dependencies when installing.