Added reflection helper class and wrote serialization system. TODO: Write deserialization