added calculation of containment and naming paths

Signed-off-by: dvorkinista <villain@noironetworks.com>