Added licence and header.
Cleanup.