* Extract Board and TileData classes from main file. Make code more object oriented.