230V 12 V switch

Good evening, I would like to install in my T5 with additional battery (80Ah) a fridge (12V and 230V without an automatic switchover) a small inverter (for laptop or mobile phone charging) and still a little bit of lighting (LED) now everything should be supplied by the battery and sobalt 230V are available the refrigerator should be operated on 230v and the remaining consumers over a rectifier with 12V made me a few thoughts and drawn a plan see picture now me in question this is so possible or is there possibly. a device that can do everything and I don’t have to build it myself or what do you think better? find out to the plan : K1 relay, which attracts when the battery G2 (via K2) has been disconnected and 230V are available via the relay then the refrigerator and the rectifier G1 is supplied with 230V K2 relay, pulls on sobalt 230V are available and separates the battery G2 from the consumers X1 and the refrigerator from the 12V supply and gives the Freig Abe for K1 Mfg