improve config; add first migration