Progress on media.

Added static manager and disabled inline code.