Create MediaFactory.java