Add missing copyrights and clean out test code.
Add license file