refactored map -> CollsisionHandler and DebugRenderer