Added generic ObjectDAO and MediaDAO