Click handler, Media system

Added click handler for the listboxes and started on the media handling
system