Added play by type
Updated documention
Fixed some bugs
Improved logging