Add search capabilities to admin page
Also move thumbnail logic to admin. It didn't belong in models.