add docs and migrations