changed everything to use the new Rectangle

Also moved Rectangle to the game package
the new Rectangle is immutable