setting up boardlayout