Added Foundation gallery
Added better handling of Categories