First draft of database endpoint and suggestions for interfacing.