Added a basic collision system with Rect