refactor: split pheripherals to separate library
fix: include xwin only for computer
feat: add option to run on x86 computer with sdl