Add device creation, new db version works