Added variables and basic functions
Added variables and basic functions
Also added input
small changes to allow testing of the player