fixed some serialization bugs, added some core functions (Reflect, StringTools, Type), add more demos to Main