Added some comments and copyright tags