added namespaces

minor changes for contao 3