Introducing namespaces to FairRoot 3