Changed classes to structs, added position reset event, removed unused things.