setup of main namespacres and classes