First version of ROM based MediaAPI.java

Change-Id: I8a373ed5844a9b1364d4a89bb874bcad32bf03d9