Cleaned up how the user list is generated.
Made mediaWrapper into an angular factory.