Discoveries page with full sqlalchemy implementation and partitioning of db-side work from views html-side work.