updated more docs and added copyright notices