basic collision manager and refactor