added license to certain files; cleanup