refactor dispatcher + framework configuration