XML File reading and implementation for playstate added.
Merge