Add license and remove old tests

Exactly what it says on the tin...