Create mediax.cpp