Refactoring work.
Work on serialization code.
Fix stupid mistake.
More refactoring, start work on entities
Add base entity ID
Lots of works on particle systems.