separate pin_info and attack_info from board
for code simplicity, and modularity, as well as performance. will be useful later.