Changed create unit method signature
Removed unused variables
Create unit method added
Change game state command added