Large change

changed operators == vs ===. Switched some stuff from coordinates to
Postions. Added some functions.