-- allow database to be queried by other programs
-- split program into two pieces (daemon and helper that sends events to it).
- This will allow us to keep track of sequences, and lots of other needed
- stuff.
-- keep track of current permissions on devices when daemon shuts down.
-- better permission handling