Added BasePlayer class in the common library project.