Added setup.py. Removed 'device' setting requirement.