created FactoryInterface and LocatorInterface. Implemented usage in LocatorTemplate
phpdoc