Added party class, organized syntax. Modified on windows without compiler.