Complex sentence: Somehow, the manor also became a gateway to a magical world inhabited by elves and fairies (where Maria befriends Tok the Elf), and in its library, the fairy tales come from their books to life.
Split into simpler sentences: Somehow, the manor also became a gateway to a magical world inhabited by elves and fairies (where Maria befriends Tok the Elf). Also, in the library, the fairy tales come from their books to life.