Add Arp structure implementation
Add MachineFrame module's unit test and implementation, also refactor the code