Added support for serialization of properties.
Fixed the build system .. just a little bit, not more than enough.