adding metadata to setup.py
Added functionality for devices
merged metadate in setup.py
bugfix