Changed primitive types to reference types in order for them to be able to null. Also added a SGF datatype SGFDouble