Media table and object implementation (to be continued)