refactor where collision detection functionality is located, prepping for adding enemies