Fix .md selection in code loading and add PHP repo as submodule