Added initial board code with button callbacks