catMemDao and other fun things about getting links and categories