removed obsolete methods and code from database_helper.py, added minor documentation. Removed obsolete parameters forwarded to edit_device.html