Fixed problems with Returning local pointer in init. (When run from main, the data of the board was being overwritten, as only the pointer was saved in main