created an entity interface for the sake of making collision more coherent