Reaction Diffusion Equations On Domains With Thin Layers