License added and small changes in header