MainPlayer class