add some libraries for rest-api
adjust layout to new database scheme
put all structure relevant code together
define basic database functions and some example data
implement simple rest api for document fetching