add nerdtree git plugin + php refactor