Added rudimentary "by medium" view
moved datafile...really should be in config