Input Devices and Databases are now combined into pairs, so that the
database knows which device to read from.

Databases now perform their write tasks in separate threads. (Timer
objects).  Only databases with paired devices will start the timer.