updated tests, added item file reader/writer