Class for constructing ttk user interfaces dynamically from yaml file