Added free software license to most files in repository and added license in root directory.
added license in root directory.