Update dependencies.
Remove old tests.
Simplify lib directory structure.