[Migration] add missing imports
[Migration] migration fixes
[Setup] set pidfile for beat command