moved event generation into seperate files
moved player queue into seperate file