Refactored player base factory class.