fix: use rpath instead of ld library path
refactor: split pheripherals to separate library
feat: add main Makefile