Added some comments, license headers.