add db schema
script to dump schema (closes #23)