Added serialization to some components.
Added TypeLists and used them to create basic component saving.