The Hopfological algebra of Khovanov and Qi