Added a lot of new features including more random events and a bit optimazation in the code.