Moved some printing functions inside board class