Structure changes

Splitted bitboard data from bitboard functions and changed the related
classes to use the new stucture