initial interface from https://github.com/alixaxel/ArrestDB and https://github.com/jpillora/xdomain