added links
moved locator to cli/generate
added test file for PhpDocTemplate