Serialization update

Cleaner serialization. Components still need to be register before you can unserialized them