Move reading and writing utilities to a separate package

Now the same functions won't be twice in the code
Steamlang: Regenerate