added some comments to edge and added LICENCE