factors human player class out of main file