PHP Media Service Update

Rough pass at parsing media directories.
Merge branch 'PHP-Media-Service'