Create .gitignore
.gitignore fix
Refactoring

remove unused namespaces etc.
Merge pull request #2 from ohaucke/refactoring

Refactored code and removed unnecessary namespaces.