Improved board initialization