Separated db actions to DBManage, added addDevice.html for testing