Add a generic function for adding data to the server's internal database system