Update module layout and add configuration.