cleaned up comments, added license to each file