updated BNF elements container and initBNF function, check readme