Refactoring content in separate files
More refactoring of examples

Removing unused namespaces
Removing some unused code