cleanup some dependencies and fix Copyright