Adding license  (issue #1)

- Add license.txt, 
- Put license notice in header
- Move some files to 4 spaces

- Also removed file under different license