First draft of database system in the docs