Refactor BoardConfig

Change-Id: I31dbab5d7c22cde1de7e81ae4d14931863aca322