Refactor collision respsonse to 100 line limit
Refactor spatialindex implementation to 100 line limit