file structure and board generation