Build vector2 class