Fixed up resource import, updated setup.py