refactor of board file structure