add GUI document framework