Refactor: move Media object to Utils namespace