return array of updated media
added sorted set dependency
use sorted set and local socket.io files
added client side implementation of shot gallery