framework for chess structure