now passing UI to player constructor, added MockPlayerInterface for testing