Remove symlinks and make codebase use common modules instead.
Put input and video subsystems into their own directories.