Remove symlinks and make codebase use common modules instead.
Add tests for initialization and teardown for all input methods.