Split main into different files.
Vector2d now has operators.