improved startup, async loading of db