docs: correct formatting
docs: add code documentation
refactor: split pheripherals to separate library
feat: add option to run on x86 computer with sdl