Started reworking models.clj. Still have find-urls-by-term to go. Haven't tested the changes yet. Once done I'll add a login page.