Massachusetts church goes up in flames