Fix server start timing
Add config module
Add migration