Updated comments, added copyright, referred to license