Adding widget meta editor with various refactor