Player control extracted from main class