Added the licence into the code files headers.
Removed a few extra using