Fixing namespaces + 3.5 profile

Create a 3.5 profile and fix namespaces for internal classes