materialed: Add a main window
flowcharts: Add base classes