Added dependencies to project file and added a collision listener