refactor: parametrize register file
fix: make rd1, rd2 in register_file regs
chore: formatting
feat: add basic ram, alu, and register file