Each board of viewers shall exercise the powers and perform the duties vested in and imposed upon such boards by law.