Nodemcu v3 connected in 2 pcf8574 with 8relays and push button

my problem is i don't understand the code of pcf8574 that is why i need help from someone who knows how to program my setup..