Depending on the size and type of battery bank, a special battery area may be required.

As of right now, it sounds like a transfer switch, sub panel, and a grid tie inverter that can switch to free running mode. The charge controller would be connected to the PV panel output and possibly the PoCo fed panel to charge the batteries if the PV panels are disconnected.

What size battery bank are you looking at?