Add some licenses.  Remove some un-used files, functions and tests.