Namespaces

Added namespaces to the project.
Removed unused namespaces from classes, thanks to Resharper.