board constructor