Victron Energy MultiPlus is a high quality inverter/charger combination. Lighting should always be made with 12V or 24V battery voltage. Power sockets are connected to the inverter output (out 230V) and generator to inverter input (in 230V). Normally the 230V inverter power goes now to the power sockets and when the aggregate is started, MultiPlus inverter/charger will start charging the batteries and also produce power which will now be led to the sockets. The MultiPlus also has a remote control option, so you can also shut down the machine to save idle power.
Design your own system and feel free to ask for advice. You can order all components from us, cheap and easy.