Some minor ameliorations.

Templated the Vector2 class.
Also made some related changes in diverse classes.
Next in line is a Transform class to maintain GameObject spaciale
informations.