framework update with namespaces and added sample app code