Removed more junk from generated code

Fixed constructors.
Made changes according to new design.
Edits to PlayerTest

Made some edits to PlayerTest because of bad code.