add media path configuration + PHPCS + documentation