Put everything together.
Remove unused classes.