Design of System Level Control for a Residential Power Router