Fixed some out of the box c# that was broken also added copyright to headers