add database abstraction, make it easy to send data to client from anywhere.