just Google ' foreigner living in Thai village with partner inform headman' and it will explain everything. There is no legal requirement but is good practice.
there will definitely be a head man. Called Pu Yai Moo Baan. You are staying with your wife so not a problem but I bet he has been informed you stay there.