Refactor mjolnir config