moved pos, vel from lists to vectors (vec2), and collects both in state class