fixed indents
added string to int conversion
added constant indexation overloading
implemented deserialization for Glyph and TextGlyph