added usage of LocatorInterface in generation
refactored configuration and added implemens, uses and extends section