Fixed the Serialize class up to start writing basic objects, reflection still needed