Added vector class - renamed spacialobject