First commit of proof of regfile, not working yet