Put mocks to directory structure mimicking project structure.
Remove symlinks and make codebase use common modules instead.
Add tests for initialization and teardown for all input methods.