Lots of code rewriting and optimizing.

In Player.cpp is a lot of the code devided in inline functions. All the
managers now use the deconstructor instead of the Clean() function