Added support for layer properties
Packed entities/maps into a world struct