Wrap db calls in future wrappers.

Make the application more reactive, by making db calls in separate
threads, and using a specific actor for response delivery to the UI.