Device templates are now stored in JSON format.

Replaced ini file with json file.
Updated setup.py to work with new format.