Adding a test suite.
Remove unused stuff.