Added few auxiliary classes and player's interface.