Majour code refactoring

* Remove static veriables (except RaceControl)
* Rename a lot of classes