Creating action and dispatcher and adding standard routing logic