Partially implemented card search

Moved some listeners to their own classes too