Moved Vector2-type to common. Initial implementation of DOD-version