Quantum link homology via trace functor I