added interfaces for repository
changed DirectedPackage so it has the address of the package too, so the package became obsolete