clean up and prepare for first run
db access and unfinished initial migration