removed old tests
new test infrastructure
rewrote page sanitization and module extraction (with tests!)