tidy up gallery module
tidy up security module
add messages file
add admin module
add new gallery functionality
missing a file
fix test
add navMatch directive