Added player and frag classes
Fixed the file IO issue