Updated licenses

Also removed unneeded libraries