Improved recording and playback code. Removed FileReadWrite thing. Serialialization format is now csv instead of xml