Can now add documents.
Started implementation of component type hierarchy.
Reworked UI.