Added licence information and removed a few obsolete files.